package com.hghivln.blog.service;

import com.hghivln.blog.entity.BlogGoods;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户_博客点赞表 服务类
 * </p>
 *
 * @author hghivln
 * @since 2021-09-25
 */
public interface BlogGoodsService extends IService<BlogGoods> {

    /**
     * 点赞
     * @param blogId 博客id
     */
    void goods(Long blogId);

    /**
     * 查询博客是否点赞
     */
    Integer getGoods(Long blogId);

    void removeByBlogId(Long blogId);
}
